package com.demo.apparel.dto.uniapp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;

/**
 * 微信用户数据传输对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "微信用户 DTO")
public class WxUserDTO {

    @Schema(description = "用户ID")
    private String id;

    @Schema(description = "微信openid")
    private String openid;

    @Schema(description = "用户名称")
    private String username;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "头像URL")
    private String avatar;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "JWT登录令牌")
    private String token;
}
